package com.ynu.bean.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
public class CategoryVO {
    /**
     * 类别编号
     */
    private Long id;

    /**
     * 类别名称
     */
    private String name;

    /**
     * 子类别
     */
    private List<CategoryVO> sub;

}

